import { E_HTTP_METHODS, IURL } from '../transfer-typing'

export interface IClientURL {
  sendMobileVerifyCode: IURL
  checkMobileVerifyCode: IURL
}

export function createClientURL(): IClientURL {
  return {
    sendMobileVerifyCode: {
      url: 'courseserver/api/sendMobileVerifyCode',
      method: E_HTTP_METHODS.POST,
      noToken: true
    },
    checkMobileVerifyCode: {
      url: 'courseserver/api/checkMobileVerifyCode',
      method: E_HTTP_METHODS.POST,
      noToken: true
    }
  }
}
